package spaska.data.readers;

import java.util.LinkedList;
import java.util.List;

/**
 * Common implementation. Contains a list of data validators
 * 
 * @author <a href="mailto:vesko.m.georgiev@gmail.com">Vesko Georgiev<a>
 */
public abstract class AbstractDataReader implements DataReader {

	protected List<Validator> validators = new LinkedList<Validator>();

	@Override
	public void addValidator(Validator validator) {
		validators.add(validator);
	}

	@Override
	public List<Validator> getValidators() {
		return validators;
	}
}
